package com.shn.ClientService;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.loadbalancer.annotation.LoadBalancerClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.web.bind.annotation.RestController;


@SpringBootApplication
@RestController
@EnableDiscoveryClient
@EnableFeignClients    // 开启远程调用
@LoadBalancerClient(name = "OrderService", configuration = MyLoadBalancerConfig.class)
public class BussinesServiceApplication{
	
	public static void main(String[] args) {
		SpringApplication.run(BussinesServiceApplication.class, args);
	}
}
